:root {
    /* 深色主题变量 */
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --container-bg: #1a1a1a;
    --input-bg: #2d2d2d;
    --border-color: #3d3d3d;
    --primary-color: #c5a47e;
    --hover-bg: #2d2d2d;
    --button-bg: linear-gradient(135deg, #c5a47e 0%, #b08f6a 100%);
    --button-text: #1a1a1a;
    --shadow-color: rgba(0,0,0,0.3);
    --dropdown-arrow: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23c5a47e%22%2F%3E%3C%2Fsvg%3E");
}

/* 白天主题变量 */
body.light-mode {
    --bg-color: #f8f9fa;
    --text-color: #374151;
    --container-bg: #ffffff;
    --input-bg: #ffffff;
    --border-color: #e5e7eb;
    --primary-color: #4a6df1;
    --hover-bg: #f3f4f6;
    --button-bg: linear-gradient(135deg, #4a6df1 0%, #3b82f6 100%);
    --button-text: #ffffff;
    --shadow-color: rgba(0,0,0,0.1);
    --dropdown-arrow: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%234a6df1%22%2F%3E%3C%2Fsvg%3E");
}
/* 全局样式 */
body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', system-ui, sans-serif;
    margin: 2rem;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 标题样式 */
h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);

}

/* 表单容器 */
form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--container-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--shadow-color);

}

/* 评价维度容器 */
form > div {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--input-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

form > div:hover {
    background: var(--hover-bg);
}

/* 标签样式 */
label {
    display: inline-block;
    width: 120px;
    color: var(--primary-color);
    font-weight: 500;
    vertical-align: top;
    margin-right: 1.5rem;
}

/* 下拉选择框 */
select {
    padding: 0.8rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    width: 120px;
    margin-right: 1.5rem;
    appearance: none;
    background-image: var(--dropdown-arrow);
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
}

/* 评语输入框 */
textarea {
    width: calc(100% - 300px);
    min-height: 80px;
    padding: 0.8rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    resize: vertical;
    transition: all 0.3s ease;
}

textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 20%, transparent);
    outline: none;
}

/* 提交按钮 */
input[type="submit"] {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--button-bg);
    color: var(--button-text);
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary-color) 30%, transparent);
}

/* 响应式设计 */
@media (max-width: 768px) {
    form > div {
        padding: 1rem;
    }

    label {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    select {
        width: 100%;
        margin-bottom: 1rem;
    }

    textarea {
        width: 100%;
    }
}